import {NgModule} from "@angular/core";
import {RouterModule, Routes} from "@angular/router";
import {AccInfoComponent} from "./accountset/accInfo/accInfo.component";
import {BusinessInfoComponent} from "./accountset/businessInfo/businessInfo.component";
import {PasswordManageComponent} from "./accountset/passwordManage/passwordManage.component";

const routes:Routes=[
    {path:'accountset/accInfo',component:AccInfoComponent},
    {path:'accountset/businessInfo',component:BusinessInfoComponent},
    {path:'accountset/passwordManage',component:PasswordManageComponent}
];

@NgModule({
    imports:[RouterModule.forChild(routes)],
    exports:[RouterModule]
})

export class MainpageRoutingModule{}
